
<template>
<view class="putGoodsBox flex">
    <view class="pg_goodsImg">
        <image :src="goods.photoUrl"/>
    </view>
    <view class="goods_Ifm">
        <view style="margin-bottom: 30rpx">{{ goods.typeRemark }}<br />{{ goods.commonName }}</view>
        <view>陈列规格<br />{{ typeList[goods.type] }}</view>
    </view>
</view>
</template>

<script >
export default {
    name:'putGoods',
    props:{
        goods:{
            type:Object,
            default:()=>{}
        }
    },
    data(){
        return {
            typeList:['地堆','冰冻','常规陈列','大排面','核心店']
        }
    }

}
</script>


<style scoped lang="scss">
.putGoodsBox{
  width: 360rpx;
  height: 250rpx;
  background: #F6F7F7;
    .pg_goodsImg{
        width: 200rpx;
        height: 200rpx;
        background: #f8f8f8;
        margin-top: 20rpx;
        image{
            width: 200rpx;
            height: 200rpx;
        }
    }
    .goods_Ifm{
        margin-top:20rpx;
        font-size: 24rpx;
    }
}

</style>